ObjectDB Database Search

51-100 of 200 results

Option or strategy to disable/skip runtime enhancement checks (to improve load time)?

whether enhancement has been applied to a wide range of classes, many of which have nothing to do with the entity layer. For example, it is checking whether PrimeFaces JSF toolkit classes are enhanced . I am using Maven-based compile-time enhancement applied to entity modules (only), so I know these checks

Enhancement from gradle build file

Just wondering if it's possible to add enhancement in the gradle build file after compilation ... David Moshal The following seems to work: task enhance (type: JavaExec) {   main = 'com.objectdb. Enhancer '   classpath = sourceSets.main.runtimeClasspath   args '-cp', 'src/main/groovy

Version 2.5.6 enhancement problem solved by updating to version 2.5.7_03

After updating some of my code to java 8, enhancement threw "unexpected" exceptions from ... have been related to the java 8 update. In any event, my enhancement problem went away when I ... , but the project has to be rebuilt and enhanced again if the classes were enhanced with an earlier version

Java 8 Enhancer Problem

transformers on the classpath. This is normaly not a problem because the ObjectDB enhancer ignores non @Entity or already enhanced classes but in conjunction with new Java 8 class files it throws ... .5_01. mosi0815 Ralph Moser The new error is not related to the Enhancer fix, but to another fix

WebService : Failed to get reference value of field using enhanced method

de.tud.stg.emergent.policy.persistence.PolicyEntity.policyString using enhanced method at org.apache ... of field field de.tud.stg.emergent.policy.persistence.PolicyEntity.policyString using enhanced method ... to get reference value of field using enhanced method" . ClassCast error was only once by me... --- I

JDO PersistenceCapable Interface for Enhanced Classes

ArrayList();     models.add((PersistenceCapable) model); the interface was enhanced ... implementing the  javax.jdo.spi.PersistenceCapable is optional, and the ObjectDB 2.x Enhancer

Suggest link to Maven example from Enhancer tool page

The maven plugin example here is incomplete:  https://www.objectdb.com/java/jpa/tool/ enhancer #Maven_and_ANT_ Enhancement _ Taken literally it can't work because it's missing this:                             org.codehaus.mojo

Not Enhanced: ...: com.objectdb.o.TEX: Type ..._$$_javassist_1 is not found

enhancement . As you noted, this class is not related to ObjectDB and does not need enhancement

How to enhance the JPA/Spring/MVC to implement RESTfull for CURL client?

Here is my attempt to enhance the JPA/MVC/eclipse tutorial to implement a RESTful service. Why does this not work with this curl command? I get 404. Can someone help me correct this? Do I need to change my web.xml servlet mapping in web.xml? I've been experimenting with and nothing seems to work

Problem of Enhancer with JAXB / Proxified Entity Bean.

Hello Support, I run on a prod server an objectdb java agent with my app. In this application, all my entities beans are constructed from a JAXBContext ( SOAP CXF Webservice or Direct JAXB Unmarshalling ) When i watch the objectdb log, i see pages of errors. Not Enhanced : com/test/MyBean

Maven driven compile time ehnancement

saw (regarding successful  enhancement ) was generated by the on the fly enhancement in ... Hi,    Just thought I'd share a small bit of Maven config to aid in enhancing persistent ... ;              com.objectdb. Enhancer    

Spring MVC Errors

get the last part of the tutorial: "To enable on the fly automatic enhancement (weaving) in Tomcat ... : enhance , phase: process-classes) pom.xml /Guestbook line 91 Maven Project Build Lifecycle Mapping ... -plugin 1.2 enhance process-classes java com.objectdb. Enhancer guest.Guest this is the error

DB reading fails in debug mode in Eclipse

post compilation (build time) enhancement rather than on the fly enhancement . support Support ... me how to fix this state ? jakab Gergely Jakab The stack trace may indicate an incomplete enhancement . Try full clean build of your project with full enhancement of all your classes (particularly

Cast exception?

Flying Banana Jiacong Xu Since it is a casting from a type to itself it probably fails ... the query? If so how can I work around it? Flying Banana Jiacong Xu You do cast implicitly by using ... is using. What are the ways to go around this? Flying Banana Jiacong Xu This seems to be a partial stack

Embedding ObjectDB on server application

; Flying Banana Jiacong Xu The error message that you get may indicate that objectdb.jar is not found in ... (ThreadPoolExecutor.java:615) java.lang.Thread.run(Thread.java:722)   Flying Banana Jiacong Xu It looks ... somehow. I came up with a workaround and it's now working! Thanks :) Flying Banana Jiacong Xu It seems like

PersistenceException: Failed to locate field

may be thrown if you mix old and new enhancement . Please make sure that after the change you only use a clean build of your application with fresh enhancement . support Support Thanks, though I've been using this enhancement for ages (I think it's actually means no enhancement , serialization only): dmoshal

NoSuchFieldError: __odbTracker on NetBeans 7.3 + JBoss 7.1.1

. galandor Orlov Sergey This exception indicates a missing enhancement , i.e. City is enhanced but its super class AbstractMethod is not enhanced . It is indeed weird that the problem is only with City ... and then redeployment solve the problem. You may also try using build time enhancement

Enhancer: non-zero exit code at exceptions

Hello, we have found that the enhancer returned an non-zero exit code on errors. You can change this so that the error of the enhancers can be detected. btc_es BTC EmbeddedSystems Thank you for this report. Starting build 2.6.1_04 the Enhancer exits with non zero code on errors. Note

Feature suggestion: Improved Maven Enhancer support

There may a way to achieve recursive application of the enhancer using the maven plugin ... .objectdb. Enhancer                  ... plugin. Maybe all the class files in the target directories can be scanned automatically and enhanced if necessary. support Support

Enhancer NullPointerException

I'm getting the following stack trace when running the enhancer on one of my jars: [ObjectDB 2.3.2_04] null java.lang.NullPointerException at com.objectdb.o.JEL.L(JEL.java:633) at com.objectdb.o.JEL.D(JEL.java:491) at com.objectdb.o.JEN.k(JEN.java:95) at com.objectdb. Enhancer .main( Enhancer .java:32

Post-compile enhancement sometimes causes error in generic loops: incompatible types found: java.lang.Object: required: Entity

I have moved from automatic run-time enhancement to explicit post-compile enhancement in an Ant build.xml in a NetBeans web app, and sometimes on editing a file that performs a generic for loop ... to have to remove generic loops just because of enhancement : for (Object os : steelMaterials.getL_Steel

Enhancer API (JDO 3.0)

One of the new features of JDO 3 is a standard API for enhancement . Currently ObjectDB implements its own enhancement API . support Support

After using the enhancer, Lazy loaded collections are no longer loading. They are set as null

; Note:  This scenario was working until running the enhancer on compiled jpa entities   ... with and without enhancement . import java.util.*; import javax.persistence.*; public class T1535 {   

Activation & Object Model Enhancement

We'd like to buy and use OEM Licenses. However, our object model gets enhanced at runtime (using JEnhancer directly) and not at compile time so we can not "sign" our object model at compile time ... our class that calls JEnhancer that then enhances the object model correctly at runtime

java.lang.NullPointerException during access a field, only if the classes enhanced

We get the following exception during access a field (Set of entities) The error occurs only if the entities are enhanced .   Caused by: com.objectdb.o.InternalException: Unexpected internal exception at com.objectdb.o.JPE.h(JPE.java:168) at com.objectdb.o.ERR.f(ERR.java:66) at com.objectdb.o

PostUpdate on array changes

the system complains: [ObjectDB 2.8.0_04] javax.persistence.PersistenceException Type au.Person is not enhanced ( enhance the type or enable reflection)  (error 304)     at com.objectdb.jpa ... getting an error regarding enhancement - is this because I'm using openjdk version "1.8.0_212

evictAll() behavior

that your persistence capable (entity) classes are not enhanced . ObjectDB supports working with no enhancement as an extension to JDO - but it is less efficient and has some limitations. For example, strong ... cannot be evicted. If your classes are not enhanced - enhancing them could solve the problem without any

ArrayIndexOutOfBoundsException with enhanced Entity

ArrayIndexOutOfBoundsException with enhanced Entity

Entity is not related to ObjectDB, but i get exception from ObjectDB

java:jboss/datasources/PG Perhaps this is because of Enhancer , how can we disable it in this case ... . 

Looking forward to your response
 galandor Orlov Sergey This could happen due to partial enhancement , i.e. all the project is enhanced , but then specific classes are compiled again without enhancement

AbstractMethodError ... __odbSetTracker(Lcom/objectdb/spi/Tracker;)V

.EMImpl.find(EMImpl.java:518) ~[na:na] btc_es BTC EmbeddedSystems It may indicate a partial enhancement ... and enhancement of all the classes. support Support Good morning, Without enhancing any entities, we get the error mentioned in first post. When we enhance all entities, we get the following error instead: java

OEM: Too many persistable types (>10) - exceeds evaluation limit (error 1011)

that creates my application (with ObjectDB Enhanced classes) but my application fails with the error ... and activations in recent versions. Please make sure that your classes are OEM enhanced . See this forum thread . support Support Thank you for the link to the class enhancing confirmation checking code. 

Insert time increases as db grows.

one entity have index on String column. Entities are not enhanced and inserts are committed in a separate ... ? 4410 Arsenii With enhanced classes you may get much better performance. Enhancement is very easy. For example, you can apply enhancement by: java -javaagent:c:\objectdb\bin\objectdb.jar

Entity Update - Is the documentation up to date?

. These changes are detected if your classes are not enhanced . If your classes are enhanced ... to elements that are not detected in enhanced classes, correct? If a class variable is assigned a new value ... a (potentially identical) new value? kjkrum Kevin The behavior is different for enhanced classes and non

Duplicate Entity class names causes Exception in Query

our JP QL fly ! JFK John Francis Sorry it appears this is an intermittent exception   I

Objectdb Doctor

, which are not stored but rather computed on the fly by executing automatic queries). ObjectDB Doctor

Extended mapping-definitions

classes, by generating them on the fly (there are several Java libraries that can do that). support Support

objectdb (licensed) + github action error

on the fly for each upgrade. Any idea how we can resolve it? Thanks in advance for your help.   jon

A few questions on object database design

? Flying Banana Jiacong Xu There are no strict rules because the optimal design depends on too many

Feature Request: Improved ObjectDB Explorer

here for discussion before submitting a ticket. What do you think? Flying Banana Jiacong Xu I agree

Opensource ObjectDB

there are no plans to open source ObjectDB. support Support Would be great if that 10 entity class limit is raised, even by a bit :P Flying Banana Jiacong Xu

Determining if Persistable Classes Have Trial Limitation

this used to work was that the Enhancer would not Enhance or sign the specified persistable classes ... .6 Enhancer ] 7 persistable types have been enhance How can I tell if a build does NOT occur ... activation code is available the message should be: [ObjectDB 2.7.6 OEM Enhancer ] rather than 

NullPointerException in __odbGetNumMember

(e.g. a super class) are not enhanced . If you enhance classes on the fly , it may be possible ... of the enhanced Mitglied class. I am unable to replicate it in a simple testcase but it always happens in ... field version using enhanced method version is annotated with @Version quasado Alexander Adam Okay

Best practise loading big data

? maybe you can use rollback or clear instead of commit? Do you always use only enhanced classes? With enhanced classes ObjectDB is not expected to hold strong references (which prevents garbage ... then we can do that instead. Thanks for this hint! Yes, only enhanced classes are used in this example

Internal objectdb exception when using different language on a machine

was not enhanced and caused the exceptions above. Although the enhancement check was activated: the enhancement check does not throw an objectdb exception. Have you an idea why the enhancement check does ... that you found the cause and thank you for the update.  Have you an idea why the enhancement check

Exception in thread "main" java.lang.NoSuchFieldError: __odbTracker

Hi   there is something wrong with enhancement process I got that class was succesfully processed, log has size 0, enhancer is from build objectdb-2.2.8_08 and during object creation when some ... Tomasz Wozniak This might be the result of an incomplete enhancement - i.e. Network extends

Error during closing an entity manager

btc_es BTC EmbeddedSystems We have found a workaround. We have just enhanced the entities and then it works as intended. But why this case does not perform without enhanced entities? btc_es BTC EmbeddedSystems The exception may be due to having partial enhancement . Mixing enhanced entity classes

queries under 2.7.6_4 significantly slower than under 2.7.6

we have queries like the above that are entered by customers on the fly , no chance to use hints

database corrupt

infrastructure. We could gather more information if needed. the 'on the fly ' Doctor would be great

javax.servlet.ServletException: Annotated methods must follow the JavaBeans naming convention. __odbHidden_getPropertyName

Enhancer modifies the names of persistent property  get and set methods by adding __odbHidden ... that. If this doesn't help maybe the Enhancer has to move the annotations to the proxy methods ... is not anywhere in the classpath. You are not using classes that have been enhanced by an older

Unexpected Exception (java.lang.NullPointerException: Cannot invoke "com.objectdb.o.ORS.Z9())

this check is not needed when entity classes are enhanced , so enhancing the class may solve the issue. Note that mixing enhanced and non- enhanced classes is not supported and may cause various issues, so double check that all your entity classes are enhanced . Something else to check is that all objects